#include <stdio.h>
#include <string.h>

#define N 10

struct Book {
    char name[100];
    float price;
};

int instring(char *s1, char *s2);

int main() {
    int i, flag = 0;
    struct Book books[N] = {
        {"Fling in sky", 23.0},
        {"I love my mother", 15.5},
        {"My love", 25.6},
        {"Color is red", 34.9},
        {"Black and red", 20.5},
        {"Let me love you", 16.0},
        {"Sun is red", 45.0},
        {"Flower sunshine", 23.8},
        {"Say love not easy", 45.9},
        {"Friday black", 34.0}
    };
    char name[20];
    fgets(name, sizeof(name), stdin);
    name[strcspn(name, "\n")] = 0;  // 去除 fgets 读取的换行符
    for (i = 0; i < N; i++) {
        if (instring(name, books[i].name)) {
            printf("%s:%g\n", books[i].name, books[i].price);
            flag = 1;
        }
    }
    if (!flag) {
        printf("None");
    }

    return 0;
}

int instring(char *s1, char *s2) {
    while (*s2) {
        char *p1 = s1;
        char *p2 = s2;
        while (*p1 && *p2 && *p1 == *p2) {
            p1++;
            p2++;
        }
        if (!*p1) {
            return 1;
        }
        s2++;
    }
    return 0;
}